﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.IO;

namespace Azure.Resources
{
    public static class AzEmbeddedResourcesManager
    {
        private static Assembly _thisAssembly = null;

        static AzEmbeddedResourcesManager()
        {
            _thisAssembly = Assembly.GetExecutingAssembly();
        }

        public static Stream GetRobotConfigSchemaResource()
        {
            return _thisAssembly.GetManifestResourceStream("Azure.Resources.RobotConfig.xsd");
        }

        public static Stream GetLog4netConfigResrouce()
        {
            return _thisAssembly.GetManifestResourceStream("Azure.Resources.Log4net.config");
        }
    }
}
